package com.ruisi.weatherreport;

import android.app.Activity;
import android.os.Bundle;
import android.view.KeyEvent;

 public class InfoActivity extends Activity{
	  
	    protected void onCreate(Bundle savedInstanceState) { 
	        super.onCreate(savedInstanceState); 
	        setContentView(R.layout.info_set);
	}
	    
	    public boolean OnKeyDown(int keyCode,KeyEvent event){   
	        if (keyCode==KeyEvent.KEYCODE_BACK && event.getRepeatCount() == 0) {   
	           
	        	InfoActivity.this.finish();
	            overridePendingTransition(R.anim.new_dync_in_from_left, R.anim.new_dync_out_to_right);
	        }      
	        return false;   
	     } 

}
